home *** CD-ROM | disk | FTP | other *** search
- global gpTestSound1, gpTestSound2, gpTestSprite
-
- on startMovie
- clearGlobals()
- initCustomButtons()
- if the machineType < 256 then
- set gpTestSound1 to "In Focus:testdata:sound1.aif"
- set gpTestSound2 to "In Focus:testdata:sound2.aif"
- set the fileName of cast "linked.pic" to "In Focus:testdata:linked.pic"
- set the fileName of cast "noaudio.mov" to "In Focus:testdata:noaudio.mov"
- set the fileName of cast "audio.mov" to "In Focus:QT:FASHION:fshintro.mov"
- else
- set theCDvolume to findVolume("cookie72.trd")
- set gpTestSound1 to theCDvolume & "\testdata\sound1.aif"
- set gpTestSound2 to theCDvolume & "\testdata\sound2.aif"
- set the fileName of cast "linked.pic" to "\testdata\linked.pic"
- set the fileName of cast "noaudio.mov" to "\testdata\noaudio.mov"
- set the fileName of cast "audio.mov" to "\testdata\audio.mov"
- end if
- set gpTestSprite to 12
- alert("Your monitor depth is" && the colorDepth && "bits.")
- end
-
- on handleLinkedPICT
- waitCursor()
- updateStage()
- puppetSprite(gpTestSprite, 1)
- set the castNum of sprite gpTestSprite to the number of member "linked.pic"
- updateStage()
- pointerCursor()
- end
-
- on handleImportedPICT
- waitCursor()
- updateStage()
- puppetSprite(gpTestSprite, 1)
- set the castNum of sprite gpTestSprite to the number of member "imported.pic"
- updateStage()
- pointerCursor()
- end
-
- on handleQTWithSound
- waitCursor()
- puppetSprite(gpTestSprite, 1)
- set the castNum of sprite gpTestSprite to the number of member "audio.mov"
- updateStage()
- set the movieTime of sprite gpTestSprite to 0
- set the movieRate of sprite gpTestSprite to 1
- set the sound of cast the number of member "audio.mov" to 1
- pointerCursor()
- end
-
- on handleQTNoSound
- waitCursor()
- puppetSprite(gpTestSprite, 1)
- set the castNum of sprite gpTestSprite to the number of member "noaudio.mov"
- updateStage()
- set the movieTime of sprite gpTestSprite to 0
- set the movieRate of sprite gpTestSprite to 1
- pointerCursor()
- end
-
- on handleSoundChannel1
- waitCursor()
- sound playFile 1, gpTestSound1
- pointerCursor()
- end
-
- on handleSoundChannel2
- waitCursor()
- sound playFile 2, gpTestSound2
- pointerCursor()
- end
-
- on handlePuppetSound
- waitCursor()
- puppetSound("import.aif")
- pointerCursor()
- end
-